﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.master" AutoEventWireup="true" Inherits="Project_Oversee_List" Codebehind="List.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    .style1,.style2
    {
    	 height:25px;
    }
    .style1
    {
    	width:100px; text-align:right; padding-right:20px;
    }    
     .style2 a
    {
        margin-left:10px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div style="margin:5px;">
        <table style="width:100%">
            <asp:ListView ID="lv" runat="server" onitemcreated="lv_ItemCreated" 
                onitemdatabound="lv_ItemDataBound">
                <LayoutTemplate>
                    <tr id="itemPlaceholder" runat="server">
                    </tr>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr id="trTaskName" runat="server">
                        <td class="style1">任务名称：</td>
                        <td class="style2"><%#Eval("TaskName") %></td>
                    </tr>
                    <tr>
                        <td class="style1">督办内容：</td>
                        <td class="style2"><%#Eval("Remark") %></td>
                    </tr>
                    <tr>
                        <td class="style1">督&nbsp;办&nbsp;人：</td>
                        <td class="style2"><%#Eval("UserName") %> <span style="margin-left:40px;">督办时间：</span><%#Eval("InputTime","{0:yyyy-MM-dd}") %><asp:HyperLink ID="lnkDelete" runat="server">删除</asp:HyperLink></td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <hr size="1" width="100%"  style="color:#e0e0e0" />
                        </td>
                    </tr>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr>
                        <td colspan="2" class="empty">
                            没有督办
                        </td>
                    </tr>
                </EmptyDataTemplate>
                
            </asp:ListView>
        </table>
       
    </div>
</asp:Content>

